package com.sky.service.UserService.impl;

import com.sky.mapper.user.MerchantMapper;
import com.sky.pojo.Merchant;
import com.sky.service.UserService.MerchantService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class MerchantServiceImpl implements MerchantService {

    @Autowired
    private MerchantMapper merchantMapper;


    @Override
    public Merchant findShopById(Long id) {
        return merchantMapper.selectMerchant(id);    }
}